//package com.azure;
//
//import ch.qos.logback.classic.spi.ILoggingEvent;
//import ch.qos.logback.core.CoreConstants;
//import ch.qos.logback.core.LayoutBase;
//
//public class MySampleLayout extends LayoutBase<ILoggingEvent> {
//
//    public String doLayout(ILoggingEvent event) {
//        StringBuilder sb = new StringBuilder(128);
//        sb.append(event.getTimeStamp() - event.getLoggerContextVO().getBirthTime());
//        sb.append(" ");
//        sb.append(event.getLevel());
//        sb.append(" [");
//        sb.append(event.getThreadName());
//        sb.append("] ");
//        sb.append(event.getLoggerName());
//        sb.append(" - ");
//        sb.append(event.getFormattedMessage());
//        sb.append(CoreConstants.LINE_SEPARATOR);
//        return sb.toString();
//    }
//}